include(${PROJECT_SOURCE_DIR}/CMakeFunctions.cmake)

file( GLOB TEST_TRANSLATE_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} test_*.c )
add_test_suite(
        SUITE check_translate
        RUNNER runner_translate.c
        TARGET translate
        SOURCES ${TEST_TRANSLATE_SRCS})

add_cmocka_stubs(test_sys macro_function)
add_cmocka_stubs(test_init fopen)

